package com.ysd.modules.sys.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ysd.modules.sys.entity.SysClassesEntity;

@Mapper
public interface SysClassesDao extends BaseMapper<SysClassesEntity> {

	Page<SysClassesEntity> getClassByParams(Map<String, Object> params, Page<SysClassesEntity> pageInfo);
	
	/**
	 * 通过学校Id获取班级
	 * 
	 * */
	List<SysClassesEntity> getBySchoolId(int schoolId);

}
